package com.javashizhan.demo.javaproxy;

public class TestMain {

	public static void main(String[] args) {

		Person person = (Person) ProxyFactory.getProxy(Person.class);
		person.doSomeThing();

		Dog dog = (Dog) ProxyFactory.getProxy(Dog.class);
		dog.doSomeThing();

	}

}
